// 封装显示函数
function showToast(msg, color) {
  const toast = new bootstrap.Toast(".my-toast");
  document.querySelector(".my-toast").style.backgroundColor = color || "green";
  document.querySelector(".toast-body").innerHTML = msg;
  toast.show();
}
